<?php
include('header.php');
include('menu.php');
include("connection/connection.php");
?>
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Create User</title>
<script language="javascript" type="text/javascript" src="js/validate.js"></script>
</head>
<body>
	<!--<table>
			<tr>
				<td><?php //include('header.php');?></td>
			</tr>
	</table>-->	
	<table width="443">
			<tr>
				<!--<td align="left" width="300"><?php //include('menu.php');?></td>-->
				<td valign="top">
<table border="0" width="300px" id="table21" height="60%" cellspacing="1" style=" padding-top:0px" >
<tr bgcolor="FF9966">
	<td height="29" align="left" valign="top" bgcolor="#FF9966">&nbsp;</td>
	<td bgcolor="#FF9966" align="left" valign="top">&nbsp;</td>
	<td bgcolor="#FF9966" align="left" valign="top" colspan="5">&nbsp;</td>
	<td height="29" align="left" valign="top" bgcolor="#FF9966">&nbsp;</td>
	<td bgcolor="#FF9966" align="left" valign="top">&nbsp;</td>
</tr>
<tr>
	<td bgcolor="#E5E5E5" align="left" valign="top" width="1%">&nbsp;</td>
	<td bgcolor="#E5E5E5" align="left" valign="top" width="5%">
	<!--<img border="0" src="images/my_pag2.jpg">--></td>
	<td bgcolor="#E5E5E5" align="left" width="91%" colspan="5">
	<span lang="en-us">&nbsp;</span><span lang="en-us" style="font-size: 8.5pt"><font face="Verdana" color="#006699"><b>POPULATION FACTOR</b></font></span></td>
	<td bgcolor="#E5E5E5" align="left" valign="top" width="1%">&nbsp;</td>
	<td bgcolor="#E5E5E5" align="left" valign="top" width="5%">
</tr>

<tr>
	<td bgcolor="#E5E5E5" align="left" valign="top" colspan="7">
	<span style="font-size: 3pt" lang="en-us">&nbsp;</span></td>
	<td bgcolor="#E5E5E5" align="left" valign="top" colspan="7"></td>
</tr>
<tr>
	<td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
	<td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
	<td bgcolor="#E5E5E5" align="left" valign="top" colspan="5" bordercolor="#F2F2F2"></td>
	<td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
	<td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
</tr>
<tr>
	<td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
	<td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
	<td align="left" valign="top" colspan="5">
	<table border="0" width="750" id="table22" cellspacing="0" cellpadding="0">
								<!--<tr>
									<td bgcolor="#050505" height="1"></td>
								</tr>!-->
								<tr>
									<td>
										<table border="0" width="100%" id="table23" cellspacing="0" cellpadding="0">
											<tr>
												<td>&nbsp;</td>
											</tr>
											<tr>
												<td align="center">
													<b><a href="addfact.php" style="text-decoration:none; color:#006699">Add Factor</a>&nbsp;|&nbsp;<a href="editfact.php" style="text-decoration:none; color:#006699">Edit Factor</a>&nbsp;|&nbsp;<a href="listfact.php" style="text-decoration:none; color:#006699">List All factor</a></b><br/><h5>List Factor</h5>
													<?php 
													//$query="select distinct district_id,district_name from tbl_lookup_location order by district_name ";
													//echo $query;
													//$result=mysql_query($query);?>
													<form action="" method="post" name="">
													<table border="1" cellpadding="2" cellspacing="0" class="" align="center" width="518">
													<tr><td width="77"><font face="Verdana" style="font-size: 8.5pt" color="#000000">District Id</font></td>
													<td width="98"><font face="Verdana" style="font-size: 8.5pt" color="#000000">District Name</font></td>
													<td width="86"><font face="Verdana" style="font-size: 8.5pt" color="#000000">Population Factor (2010) </font></td>
													<td width="109"><font face="Verdana" style="font-size: 8.5pt" color="#000000">Population Factor (2025) </font></td>
													</tr>
													<?php
													$query="select * from tbl_lookup_pop_factor order by district_id";
													//echo $query;
													$result=mysql_query($query);
													while($x=mysql_fetch_array($result))
													{
													?>
												<tr><td><font face="Verdana" style="font-size: 8.5pt" color="#000000"><?php echo $x['district_id'];?></font></td><td><font face="Verdana" style="font-size: 8.5pt" color="#000000"><?php echo $x['district_name'];?></font></td><td><font face="Verdana" style="font-size: 8.5pt" color="#000000"><?php echo $x['population_factor'];?></font></td>
												  <td><font face="Verdana" style="font-size: 8.5pt" color="#000000"><?php echo $x['factor_2025'];?></font></td>
												</tr>
													<?php
													}
													?>
													</table>
													 
													</form>
												
											</td>
											
										</tr>
									</table>
								
					
					</td>
										
				</tr>
				
				
				<tr>
					<td><p align="center"></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
				</tr>
</table>					
</td>
<td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
	<td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
 </tr>

         <tr>
            <td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
								  <td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
								  <td bgcolor="#E5E5E5" align="left" valign="top" colspan="5">
								    <font color="#000000" face="Verdana">
							        <span style="font-size: 8.5pt">
							         
						            </span></font></td>
									 <td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
								  <td bgcolor="#E5E5E5" align="left" valign="top">&nbsp;</td>
									
 </tr>
</table>

</body>
</html>


